package com.itheima.stock.constant;

/**
 * 常量类
 */
public class Constants {

    /**
     * 验证码过期时间
     */
    public static final long CAPTCHA_EXPIRE_TIME = 60;
    /**
     * 验证码在redis中存储的前缀
     */
    public static final String CAPTCHA_PREFIX = "stock:captcha:";

    /**
     * 用户状态1：正常
     */
    public static final int SYS_USER_STATUS_NORMAL = 1;
    /**
     * 用户状态2：锁定
     */
    public static final int SYS_USER_STATUS_LOCKED = 2;
    /**
     * 删除状态0：删除
     */
    public static final int SYS_USER_DELETED = 0;
    /**
     * 删除状态1：未删除
     */
    public static final int SYS_USER_UN_DELETE = 1;

    public static final String EXCEL_FILE_PREFIX = "股票信息-";

    public static final String EXCEL_FILE_Sufix = ".xls";
}
